package com.demo.controller;

import com.demo.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

import javax.annotation.Resource;

/**
 * @author feifei
 * @description
 * @date 2024/5/22
 */
@Controller
public class UserAdviceController {
    @Resource
    private User user1;

    public void getUser() {
        System.out.println("feifei user1:" + user1);
    }
}



















